package com.dp.mallchat.common.chat.domain.vo.req.msg;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: dupeng
 * @CreateTime: 2024-06-29  23:16
 * @Description: 文件请求公共参数
 */
@Data
@ApiModel(value = "文件请求公共参数")
public class BaseFileReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("大小（字节）")
    @NotNull
    private Long size;

    @ApiModelProperty("下载地址")
    @NotBlank
    private String url;


}
